package com.hexinfo.dmpro.sparing.service;

import cn.hutool.core.io.file.FileAppender;
import com.hexinfo.dmpro.sparing.dto.StateDataDTO;

import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;

public interface FutureService {
    StateDataDTO futureStatusMap(Map<String, Future<Boolean>> futureMap, FileAppender heatLog,String message);

    StateDataDTO futureStatusList(List<Future<Boolean>> futures, FileAppender heatLog, String message);

    String futureResult(List<Future<Map<String, Object>>> futures);
}
